import { IPSDBIndexBase } from './ipsdbindex-base';
import { IPSDEDBIndexField } from './ipsdedbindex-field';
import { IPSDataEntityObject } from '../dataentity/ipsdata-entity-object';

/**
 *
 * @export
 * @interface IPSDEDBIndex
 */
export interface IPSDEDBIndex extends IPSDBIndexBase, IPSDataEntityObject {
  /**
   * 索引属性对象集合
   *
   * @type {IPSDEDBIndexField[]}
   */
  getAllPSDEDBIndexFields(): IPSDEDBIndexField[] | null;

  /**
   * 索引属性对象集合
   *
   * @type {IPSDEDBIndexField[]}
   */
  get allPSDEDBIndexFields(): IPSDEDBIndexField[] | null;

  findPSDEDBIndexField(objKey: any): IPSDEDBIndexField | null;
}
